- NAME
-
- gcloud compute disks - read and manipulate Compute Engine disks
- SYNOPSIS
-
-
gcloud compute disksCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
Read and manipulate Compute Engine disks.
For more information about disks, see the disks documentation.
See also: Disks API.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMANDadd-iam-policy-binding- Add IAM policy binding to a Compute Engine disk.
add-labels- Add labels to Google Compute Engine persistent disks.
add-resource-policies- Add resource policies to a Compute Engine disk.
create- Create Compute Engine persistent disks.
delete- Delete a Compute Engine disk.
describe- Describe a Compute Engine disk.
get-iam-policy- Get the IAM policy for a Compute Engine disk.
list- List Google Compute Engine disks.
move- Move a disk between zones.
remove-iam-policy-binding- Remove IAM policy binding from a Compute Engine disk.
remove-labels- Remove labels from Google Compute Engine persistent disks.
remove-resource-policies- Remove resource policies from a Compute Engine disk.
resize- Resize a disk or disks.
set-iam-policy- Set the IAM policy for a Compute Engine disk.
snapshot- Create snapshots of Compute Engine persistent disks.
update- Update a Compute Engine persistent disk.
- NOTES
-
These variants are also available:
gcloud alpha compute disksgcloud beta compute disks
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]